{extend name='base'}
{block name='nav2'}
    <a><cite>新闻中心</cite></a>
{/block}
{block name='nav3'}
    <a><cite>新闻评论管理</cite></a>
{/block}
{block name='nav4'}
    <a><cite>审核</cite></a>
{/block}
{block name='kdscript'}
    <script>
            var editor;
            KindEditor.ready(function(K) {
                editor = K.create('textarea[name="comment"]', {
                    allowFileManager : true,
                    readonlyMode : true,
                    items : [
                         'undo', 'redo', '|', 'preview', 'print', 'template', 'code', 'cut', 'copy', 'paste',
        'plainpaste', 'wordpaste', '|', 'justifyleft', 'justifycenter', 'justifyright',
        'justifyfull', 'insertorderedlist', 'insertunorderedlist', 'indent', 'outdent', 'subscript',
        'superscript', 'clearhtml', 'quickformat', 'selectall', '|', 'fullscreen', '/',
        'formatblock', 'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold',
        'italic', 'underline', 'strikethrough', 'lineheight', 'removeformat', '|', 'image', 'multiimage',
        'flash', 'media', 'insertfile', 'table', 'hr', 'emoticons', 'baidumap', 'pagebreak',
        'anchor', 'link', 'unlink', '|', 'about']
                });
            });
    </script>
{/block}
{block name='con1'}
    <div class="x-body">
        <form class="layui-form" action="{:url('newscomment_audit_check')}" method='post' enctype='multipart/form-data'>
            <input type="hidden" name='id' value="{$old.id}">
            <div class="layui-form-item">
                <label class="layui-form-label">
                    评论人
                </label>
                <div class="layui-input-block">
                    <input type="text" name="commenter" value='{$old.commenter}' class='layui-input' disabled>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">
                    新闻标题
                </label>
                <div class="layui-input-block">
                    <input type="text" name="title" value='{$old.title}' class='layui-input' disabled>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">
                    评论内容
                </label>
                <div class="layui-input-block">
                    <textarea name="comment" style="width:100%;height:200px;visibility:hidden;"  disabled>{$old.comment}</textarea>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">
                    审核结果
                </label>
                <div class="layui-input-block">
                    <input type="radio" name="audit" value='pass'><span>通过</span>
                    <input type="radio" name="audit" value='nopass'><span>未通过</span>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">
                </label>
                <div class="layui-input-block">
                    <button class="layui-btn" type='submit'>
                        提交
                    </button>
                </div>
            </div>
        </form>
    </div>
{/block}